
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureMedicine;

import java.math.BigDecimal;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureMedicine entities.
 * 
 */
public interface CureMedicineDAO extends JpaDao<CureMedicine> {

	/**
	 * JPQL Query - findAllCureMedicines
	 *
	 */
	public Set<CureMedicine> findAllCureMedicines() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureMedicines
	 *
	 */
	public Set<CureMedicine> findAllCureMedicines(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByMemoContaining
	 *
	 */
	public Set<CureMedicine> findCureMedicineByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByMemoContaining
	 *
	 */
	public Set<CureMedicine> findCureMedicineByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByQuantity
	 *
	 */
	public Set<CureMedicine> findCureMedicineByQuantity(java.math.BigDecimal quantity) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByQuantity
	 *
	 */
	public Set<CureMedicine> findCureMedicineByQuantity(BigDecimal quantity, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByMemo
	 *
	 */
	public Set<CureMedicine> findCureMedicineByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByMemo
	 *
	 */
	public Set<CureMedicine> findCureMedicineByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineById
	 *
	 */
	public CureMedicine findCureMedicineById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineById
	 *
	 */
	public CureMedicine findCureMedicineById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByPrimaryKey
	 *
	 */
	public CureMedicine findCureMedicineByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureMedicineByPrimaryKey
	 *
	 */
	public CureMedicine findCureMedicineByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}